<template>
    <section>
        <p>31 vuetify 自定义输入框</p>
    <div>
      <v-text-field
        :rules="rules"
        hide-details="auto"
        label="Main input"
      ></v-text-field>
      <v-text-field label="Another input"></v-text-field>
    </div>
</section>
  </template>
  <script>
    export default {
      data: () => ({
        rules: [
          value => !!value || 'Required.',
          value => (value && value.length >= 3) || 'Min 3 characters',
        ],
      }),
    }
  </script>